﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bmz.MongoDb.Entities
{
    public class ListResp<T>
    {
        /// <summary>
        /// 请求的记录数
        /// </summary>
        public int Rows { get; set; }
        /// <summary>
        /// 请求的偏移量（从0开始）
        /// </summary>
        public int Start { get; set; }
        /// <summary>
        /// 记录总数
        /// </summary>
        public int Total { get; set; }

        public IEnumerable<T> List { get; set; }
    }
}
